package com.ruoyi.mapper;

import java.util.List;
import com.ruoyi.domain.IngredientInfo;

/**
 * IngredientInfoMapper接口
 * 
 * @author ruoyi
 * @date 2025-01-11
 */
public interface IngredientInfoMapper 
{
    /**
     * 查询IngredientInfo
     * 
     * @param ingredientId IngredientInfo主键
     * @return IngredientInfo
     */
    public IngredientInfo selectIngredientInfoByIngredientId(Long ingredientId);

    /**
     * 查询IngredientInfo列表
     * 
     * @param ingredientInfo IngredientInfo
     * @return IngredientInfo集合
     */
    public List<IngredientInfo> selectIngredientInfoList(IngredientInfo ingredientInfo);

    /**
     * 新增IngredientInfo
     * 
     * @param ingredientInfo IngredientInfo
     * @return 结果
     */
    public int insertIngredientInfo(IngredientInfo ingredientInfo);

    /**
     * 修改IngredientInfo
     * 
     * @param ingredientInfo IngredientInfo
     * @return 结果
     */
    public int updateIngredientInfo(IngredientInfo ingredientInfo);

    /**
     * 删除IngredientInfo
     * 
     * @param ingredientId IngredientInfo主键
     * @return 结果
     */
    public int deleteIngredientInfoByIngredientId(Long ingredientId);

    /**
     * 批量删除IngredientInfo
     * 
     * @param ingredientIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteIngredientInfoByIngredientIds(Long[] ingredientIds);
}
